﻿using System;
using System.Collections.Generic;

using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Yu.Cms.Web.UserCtrl.Default
{
    public partial class IndexNew : BaseCtrl
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                this.OnStart();
            }
        }

        protected void OnStart()
        {
            this.BindList();
        }

        /// <summary>
        ///  绑定
        /// </summary>
        protected void BindList()
        {
            rpt.DataSource = bllContent.GetNewList(8);
            rpt.DataBind();
        }
    }
}